CC = gcc
CFLAGS = -g -Wall

test : test.o table.o list.o record.o
	$(CC) test.o table.o list.o record.o $(CFLAGS) -o test

test.o : test.c
	$(CC) test.c -c $(CFLAGS)

table.o : table.c
	$(CC) table.c -c $(CFLAGS)

record.o : record.c
	$(CC) record.c -c $(CFLAGS)

list.o : list.c
	$(CC) list.c -c $(CFLAGS)

clean :
	rm *.o
